package fr.thomascoffin.mocaftest;

import fr.thomascoffin.mocaf.EasyGBC;
import fr.thomascoffin.mocaf.EasyGBCFullExample;

/**
 * This class tests that EasyGBCFullExample is really extendable.
 * <p/>
 * <p/>
 * This class is released by Thomas Coffin (thomas.coffin@gmail.com) under the <a href="http://www.gnu.org/copyleft/lesser.html" target="_blank">LGPL License</a>
 * as a component of the <a href="http://code.google.com/p/mocaf" target="_blank">mocaf project</a>
 * <p/>
 * (c) Thomas Coffin 2008.
 */
public class EasyGBCExtendedExample extends EasyGBCFullExample
{
	protected void fill()
	{
		EasyGBC easyGBC = new EasyGBC().x(1).y(1).center().fillBoth().insets(0).noPad().normalWeight().size(1);
		add("Tower", easyGBC);
		add("Knight", easyGBC.goRight());
		add("Bishop", easyGBC.goRight());
		add("Queen", easyGBC.goRight());
		add("King", easyGBC.goRight());
		add("Bishop", easyGBC.goRight());
		add("Knight", easyGBC.goRight());
		add("Tower", easyGBC.goRight());
		add("Pawn", easyGBC.goDown().x(1));
		add("Pawn", easyGBC.goRight());
		add("Pawn", easyGBC.goRight());
		add("Pawn", easyGBC.goRight());
		add("Pawn", easyGBC.goRight());
		add("Pawn", easyGBC.goRight());
		add("Pawn", easyGBC.goRight());
		add("Pawn", easyGBC.goRight());
		add("Pawn", easyGBC.x(1).y(7));
		add("Pawn", easyGBC.goRight());
		add("Pawn", easyGBC.goRight());
		add("Pawn", easyGBC.goRight());
		add("Pawn", easyGBC.goRight());
		add("Pawn", easyGBC.goRight());
		add("Pawn", easyGBC.goRight());
		add("Pawn", easyGBC.goRight());
		add("Tower", easyGBC.goDown().x(1));
		add("Knight", easyGBC.goRight());
		add("Bishop", easyGBC.goRight());
		add("Queen", easyGBC.goRight());
		add("King", easyGBC.goRight());
		add("Bishop", easyGBC.goRight());
		add("Knight", easyGBC.goRight());
		add("Tower", easyGBC.goRight());
	}

	public static void main(String[] args)
	{
		new EasyGBCExtendedExample();
	}
}
